package com.example.javaee.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("grade")
public class Grade {

    @TableField(value = "userId")
    Integer userId;
    @TableField(value = "courseId")
    Long courseId;

    private int grade;      //0,1,2

    public Integer getUserId(){
        return userId;
    }

    public int getGrade() {
        return grade;
    }

    public Long getCourseId() {
        return courseId;
    }

}

